arithmetic progression one shot